-----------------------------------------------------

ENGLISH (Deutsche Version weiter unten):
-----------------------------------------------------

Website: http://www.gta-worldmods.de/


GTA IV - Recoverer
Version: 2.0.0
----------------------------------------------
Author: TDO
EMail: tdo@gta-worldmods.de
Website: http://www.gta-worldmods.de

Thanks to:

- fOSSiL & Morlac


About this program and how it works / how to use it:
----------------------------------------------
After you have edited your GTA IV files, you start the game and it crashes. Then you realize that you forgot to make a backup. Normally, you now have to reinstall the game! :(

With this tool, you can easily recover the original files:

1. Select your GTAIV Directory / or a temp directory (for example an empty folder)
2. Select your DVD-ROM Drive
3. Choose a file you want to recover or use a scriptfile
4. Click 'Recover' and wait a few seconds/minutes (you will be asked to insert the disc 1 or 2 into your drive)
5. The file has been recovered and the game can be started (or modded) again

Hav a lot of fun ;).


Requirements:
--------------
You need JAVA installed on your computer to use this tool. If you don't have it installed, the tool will automatically ask you to download it when program starts.


Hosting:
--------
You can upload this tool wherever you want. It's not exclusive to anyone!


Scriptfiles:
----------
You can create a GTA IV Recoverer Scriptfile to recover lots of files automatically. This is how it works:

1. Open your texteditor (notepad).
2. The first line always begins with a comment. This line will not be read by the recoverer! You can write down whatever you want. If you don't want to enter a comment, just leave the first line blank.
3. The second and next lines are very important: Write down all the files you want to recover. Each line can only be used for one file!
4. Save your file as "ANYNAME.ivr" The .ivr extension is used by the GTA IV Recoverer.
5. You can open the script by clicking the "Open scriptfile" Button in the GTA IV Recoverer

The Recoverer checks every line of your script and compares it to the filelist.

There is an example file included: patch7_rollback.ivr
You can open this file in a texteditor to check or modify it.

! IMPORTANT !:
- Don't use blank lines in your scriptfile
- You can use paths with a normal backslash for example: common\text\american.gxt
- Always use the filenames. Don't use directories!



Changes:
----------
1.0.0: - public release

1.1.0: - code cleanup
       - patch information added
       - added patched files support (when you want to recover a file that is updated by one of the patches (1-3), you get a message. You can recover the file but you should install the latest patch again to update the file.)

1.2.0: - search option added (it's an "OR"-Search, so you can enter "gta4 melee paul" -> searches for "gta4", "melee" or "paul"). To search again, just click the search button again without changing the textbox. Or just enter the filename you want to search.

1.3.0: - cleanup
       - scriptfile support added (see: p4_rollback.ivr and section "scriptfiles" above)
       - patchfile information updated

2.0.0:  - Completly new code. Started from the beginning again.
	- Faster algorithm with failure-detection
	- Design optimized
	- Windows 7 compatible
	- Lots of internal code updates
	- Scriptfiles must not have double-slashes anymore
	- Update-function added
	- No values are saved in the registry anymore. Now with ini file support
	- Optimized recovering (the data3.cab will not be copied to the harddisk anymore)
	- When an error occurs during recovering process, the last file will not be deleted anymore
	- The search has been changed. It's now an "AND" search. All files that include the whole text will be found





-----------------------------------------------------

DEUTSCH:
-----------------------------------------------------

Website: http://www.gta-worldmods.de/






GTA IV - Recoverer
Version: 2.0.0
----------------------------------------------
Autor: TDO
EMail: tdo@gta-worldmods.de
Website: http://www.gta-worldmods.de

Dank an:

- fOSSiL & Morlac


ber das Programm selbst und wie es funktioniert:
----------------------------------------------
Nachdem du dein GTA IV modifiziert und gestartet hast, ist es leider abgestrzt. Natrlich hast du auch vergessen ein Backup der Datei zu erstellen. Also war bisher immer eine komplette Neuinstallation angesagt. :(

Genau hier ist der Punkt, an dem dieses Programm zum Einsatz kommt:

1. Whle dein GTA IV Verzeichnis / oder ein beliebiges Verzeichnis (z.B. einen leeren Ordner)
2. Whle dein DVD-ROM Laufwerk
3. Whle eine Datei, die du wiederherstellen mchtest oder whle eine Recovering Datei
4. Klicke auf 'Recover' und warte ein paar Sekunden/Minuten (du wirst aufgefordert, die entsprechende DVD einzulegen)
5. Die Datei wurde nun ersetzt bzw. wiederhergestellt und das Spiel kann wieder gestartet (oder modifiziert) werden

Viel Spa ;).


Anforderungen:
--------------
Auf deinem Computer muss JAVA installiert sein, damit es funktioniert. Sollte dies nicht der Fall sein, wirst du automatisch zum Download aufgefordert, wenn du das Programm startest.



Hosting:
-------
Dieses Programm kann berall verffentlicht werden. Es besteht kein Exklusivittsrecht!


Scriptfiles:
----------
Du kannst eigene Scripte fr den GTA IV Recoverer erstellen um mehrere Dateien automatisch wiederherzustellen. So funktioniert's:

1. ffne einen Texteditor (z.B. Notepad)
2. Die erste Zeile enthlt immer ein Kommentar. Diese Zeile wird nicht vom Recoverer gelesen. Du kannst dort beliebigen Text einsetzen. Wenn du keinen Kommentar schreiben willst, lass diese erste Zeile einfach leer.
3. Die zweite und alle weiteren Zeilen sind wichtiger: Schreibe dort alle Dateinamen herein, die du wiederherstellen mchtest. Jede Datei muss in eine einzelne Zeile geschrieben werden! Hierbei muss der genaue Pfad angegeben werden, sofern sich die Datei in einem Unterverzeichnis befindet.
4. Die .ivr Dateiendung wird vom GTA IV Recoverer verwendet. Speichere deine Script-Datei als "BELIEBIGERNAME.ivr"
5. Nun kannst du die Datei im Recoverer mit dem Button "Open scriptfile" ffnen.


Der Recoverer prft nun jede Zeile deines Scriptes auf vollstndige Korrektheit und gleicht sie mit der Dateiliste ab.

Eine Beispieldatei wird bereits mitgeliefert: patch7_rollback.ivr
Diese Datei kannst du mit einem Texteditor ffnen und beliebig bearbeiten.


! WICHTIG !:
- Benutze keine leeren Zeilen in deinem Script (Kommentar ausgenommen)
- Pfade werden mit Schrgstrichen angegeben z.B.: common\text\american.gxt
- Benutze immer die Dateinamen (keine Ordner!)


Updates:
----------
1.0.0: - public release

1.1.0: - Code cleanup
       - Patchinformationen hinzugefgt
       - Dateien, welche durch einen der Patches (1-3) aktualisiert werden, werden vor dem recovern erkannt. Es erfolgt eine Meldung, welche aussagt, dass die entsprechende Datei wiederhergestellt werden kann, danach aber der neueste Patch erneut installiert werden sollte um die Datei zu aktualisieren.

1.2.0: - Suchfunktion hinzugefgt (es ist eine "ODER"-Suche, welche wie folgt funktioniert: Die Eingabe von "gta4 melee paul" -> sucht nach "gta4", "melee" oder "paul"). Um die Suche erneut durchzufhren, einfach den "Search"-Button erneut drcken.

1.3.0: - Cleanup
       - Scriptfile support hinzugefgt (siehe: p4_rollback.ivr und das Kapitel "scriptfiles" hierdrber)
       - Patchfile information aktualisiert

2.0.0:  - Anwendung wurde von Grund auf neu geschrieben
	- Schnellerer Algorithmus mit Fehlererkennung
	- Design aktualisiert
	- Windows 7 kompatibel
	- Viele interne Codeoptimierungen
	- Scriptfiles drfen ab sofort keine doppelten Schrgstriche mehr enthalten!
	- Patchfilesupport fr Patch 7 hinzugefgt
	- Update-Funktion hinzugefgt
	- Keine Speicherung mehr in der Registry. Vollstndiger ini File Support
	- Verbessertes Recovering (die data3.cab wird nicht mehr auf die Festplatte kopiert)
	- Bei fehlgeschlagener Wiederherstellung wird die vorherige Datei wiederhergestellt und nicht mehr gelscht
	- Suche wurde gendert auf eine "UND"-Suche. Es werden alle Dateien gefunden, welche das eingegebene Wort enthalten